#include "ofMain.h"
#include "gameMain.h"
#include "ofAppGlutWindow.h"

//==================================================================================================

// This is done so that we can build the release version without the console window - as a native
// Windows application
#ifndef _DEBUG
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
#else
int main( )
#endif
{
    ofAppGlutWindow window;
	ofSetupOpenGL(&window, 1024,768, OF_WINDOW);			// <-------- setup the GL context

	// this kicks off the running of my app
	// can be OF_WINDOW or OF_FULLSCREEN
	// pass in width and height too:
	ofRunApp( new gameMain());
}
